package org.edu.modules.stu.biye.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-毕业证结业证流水号表
 */
@TableName("ve_stu_graduation_xuhao")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="毕业证结业证流水号表对象", description="ve_stu_graduation_xuhao")
public class VeStuGraduationXuhao extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "byz =>毕业证编号，jyz=>结业证编号")
    @Length(max = 45)
        private String category;

    @TableField
    @ApiModelProperty(value = "结束学业年份")
    @Length(max = 4)
        private String year;

    @TableField
    @ApiModelProperty(value = "专业ID")
        private Integer specId;

    @TableField
    @ApiModelProperty(value = "最大序号")
        private Integer maxNumber;
}
